package classloader;

import java.lang.annotation.Annotation;

/**
 * @Author: Hugh
 * @Date: 2021/2/28
 */
public class MyClassLoaderTest {

    public static void main(String[] args) throws ClassNotFoundException {
        MyClassLoader myClassLoader = MyClassLoader.getInstance(null,"/");

        Class<?> myClassLoaderTest = myClassLoader.findClass("MyClassLoaderTest");
        Annotation[] annotations = myClassLoader.getClass().getAnnotations();
    }

}
